Skip to main content

What’s New

Qrvey 8.7
Version 8.7 of the Qrvey platform is now available to customers! This version includes new features including area charts, the ability to pivot and export data, as well as numerous bug fixes and performance improvements.
Learn More
Qrvey 8.6
Version 8.6 of the Qrvey platform is now available to customers. This version includes several new feature enhancements and performance improvements.
Learn More
Required Update for 8.5.1
Attention 8.5.1 customers: for any 8.5.1 instance deployed prior to 08/05/2024, an update is required to ensure you are running the latest images.
Learn More
Qrvey 8.5
Version 8.5 (LTS) of the Qrvey platform is now available to customers. This version includes several new features and performance improvements.
Learn More
End-of-life Schedule
We've added a new article that lists the features and endpoints that have been scheduled for deprecation. All features and endpoints will be supported for (1) year after the release date of the LTS version that contains the alternative.
Learn More
Version: 8.1

Summary View

This Summary View widget requires "<my_cdn>"/summary-panel/ansummarypanel.js and "<my_cdn>"/summary-view/ansummaryview.js scripts file and use the <an-summary-view> Custom HTML Tag

Configuration Object

{
  domain: "https://your_qrvey_domain",
  api_key: "<API_KEY>",
  user_id: "<USER_ID>"
  app_id: "<APP_ID>",
  qrveyhash: "<QRVEY_HASH>",
  qrveyid: "<QRVEY_ID>",
}

### Properties and Values

PropertyValue
domainString, Qrvey Core URL.
api_keyString, Api Key. Identification code to connect to the data.
user_idString, User identifier.
app_idString, Identifier of the Qrvey application.
qrveyhashString, Qrvey Hash.
qrveyidString, Identifier of the Qrvey.

Other configuration properties

{
  "panelConfig": {
    "drillConfig": {
      "persist": <true | false>,
      "enabled": <true | false>
    },
    "filters": <true | false>
  }
}
PropertyValue
panelConfigObject. Configuration for the panel, receives some properties to change the appearance or behavior of the panels
panelConfig.drillConfigObject. settings to use the Drill-down functionality that are used in the histogram charts
panelConfig.drillConfig.persistBoolean. Condition to establish if they need the chosen Drill-down filters to persist over time.
panelConfig.drillConfig.enabledBoolean. Condition to enable Drill-down functionality.
panelConfig.filtersBoolean. Activate or deactivate the filter button within the panels.

Event Listeners

  • ON_CLOSE_BUCKET_MODAL

  Listener to refresh the Summary View component when the Buckets Modal is closed.

  event.detail object:

PropertyValueRequired
hasChangesBoolean, Condition to establish changes within Summary View as long as there were changes.Yes
  • triggerOpenBranch

  Listener to add, within the Summary View, the extra panels of branches.

  event.detail object:

PropertyValueRequired
questionidString, The identifier of the question related to the branchesYes
questionsArray, Set of concatenated branches in the same levelYes
branchesArray, Set of branches.Yes
  • triggerCloseBranch

  Listener to hide, within the Summary view, the extra panels of branches

  event.detail object:

PropertyValueRequired
closeQuestionBoolean, Condition to close the branchesYes
questionidString, The identifier of the question related to the branchesYes
hasBranchesBoolean, property to concoer if there are branches or not.Yes
elementHTMLAnSummaryHeaderElement, Html element of the header.Yes
inBranchNo

Methods

  • applyFilters

  Set incoming filters by parameter

ParamDescriptionRequired
filtersArray, Set of filters.Yes
  • checkBranchOpen

  Check if the branch panels are showing from the questionId

ParamDescriptionRequired
questionidString, Identifier of the question.Yes

      Returns: Boolean.

  • downloadData

  Download the visible information within Summary View, depending on the type of file.

ParamDescriptionRequired
typeString, The type of download. They can be csv, pdf, jpg.Yes

  Returns <Promise | undefined> , If there are no questions to download it will return undefined, otherwise it will return a Promise with the data.

  • reloadAllSummaryView

  Reload the Summary View again.

Example

<script src = "<WIDGET_SUMMARY_PANEL_LOADER_URL>"> </ script>
<script src = "<WIDGET_SUMMARY_VIEW_LOADER_URL>"> </ script>
 
<script>
  window.summaryConfig = {
    qrveyhash: '<QRVEYHASH>',
    domain: 'https://your_qrvey_domain',
    api_key: '<API_KEY>',
    qrveyid: "<QRVEY_ID>",
    app_id: "<APP_ID>",
    user_id: "<USER_ID>"
    panelConfig: {
      drillConfig: {
        persist: true,
        enabled: true
      },
      filters: true
    }
  }
</ script>
<an-summary-view config = "summaryConfig"> </ an-summary-view>